package com.bbcare.switchData.entity.model;

import com.bbcare.switchData.entity.basemodel.BaseEntityForBB;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


public class PtContentdataInfo extends BaseEntityForBB<PtContentdataInfo> {

	private String contentId; // 任务内容id
	private String questionId; // 问题id
	private String questionAnswer; // 答案内容
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date updateTime; // 更新时间
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
	private java.util.Date createTime; // 创建时间
	private String updateAccept; // 更新流水
	private String taskId; // 任务id
	private String userId; // 患者id
	private String ptSchemeid; // 患者队列实例id
	private String templType; // 内容类型 0:门诊问卷 1:线上问卷 2:随访提醒 3:用药 4:随访评测 5:随访指导 6:家庭监测 7:宣教
	private String opTime; // 操作时间
	private String opType; // 类型
	private String specialAccept; // 专病每次提交门诊记录的唯一流水
	private String type; // 类型：早中晚
	private String queueId; // 队列id
	private String tenantId; // 租户id
	private String sourceTypeCreate; // 初始来源渠道, 1:扫码主诉渠道, 2:web端门诊渠道, 4:微信公众号渠道, 5:诊间扫码渠道
	private String sourceTypeUpdate; // 最后来源渠道, 1:扫码主诉渠道, 2:web端门诊渠道, 4:微信公众号渠道, 5:诊间扫码渠道

	private boolean questionAnswerNotEmpty; //问题答案是否为空

	public String getContentId() {
		return contentId;
	}
	
	public void setContentId(String contentId) {
		this.contentId = contentId;
	}
	
	public String getQuestionId() {
		return questionId;
	}
	
	public void setQuestionId(String questionId) {
		this.questionId = questionId;
	}
	
	public String getQuestionAnswer() {
		return questionAnswer;
	}
	
	public void setQuestionAnswer(String questionAnswer) {
		this.questionAnswer = questionAnswer;
	}
	
	public java.util.Date getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public java.util.Date getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}
	
	public String getUpdateAccept() {
		return updateAccept;
	}
	
	public void setUpdateAccept(String updateAccept) {
		this.updateAccept = updateAccept;
	}
	
	public String getTaskId() {
		return taskId;
	}
	
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getPtSchemeid() {
		return ptSchemeid;
	}
	
	public void setPtSchemeid(String ptSchemeid) {
		this.ptSchemeid = ptSchemeid;
	}
	
	public String getTemplType() {
		return templType;
	}
	
	public void setTemplType(String templType) {
		this.templType = templType;
	}
	
	public String getOpTime() {
		return opTime;
	}
	
	public void setOpTime(String opTime) {
		this.opTime = opTime;
	}
	
	public String getOpType() {
		return opType;
	}
	
	public void setOpType(String opType) {
		this.opType = opType;
	}
	
	public String getSpecialAccept() {
		return specialAccept;
	}
	
	public void setSpecialAccept(String specialAccept) {
		this.specialAccept = specialAccept;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getQueueId() {
		return queueId;
	}
	
	public void setQueueId(String queueId) {
		this.queueId = queueId;
	}
	
	public String getTenantId() {
		return tenantId;
	}
	
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	
	public String getSourceTypeCreate() {
		return sourceTypeCreate;
	}
	
	public void setSourceTypeCreate(String sourceTypeCreate) {
		this.sourceTypeCreate = sourceTypeCreate;
	}
	
	public String getSourceTypeUpdate() {
		return sourceTypeUpdate;
	}
	
	public void setSourceTypeUpdate(String sourceTypeUpdate) {
		this.sourceTypeUpdate = sourceTypeUpdate;
	}

	public void setQuestionAnswerNotEmpty(boolean questionAnswerNotEmpty) {
		this.questionAnswerNotEmpty = questionAnswerNotEmpty;
	}

	public boolean isQuestionAnswerNotEmpty() {
		return questionAnswerNotEmpty;
	}
}
